AccessibilityDelegateCompat

(SESL Variant) Helper for accessing AccessibilityDelegate.

Note: On platform versions prior to API 23, delegate methods on views in the android.widget.* package are called before host methods. This prevents certain properties such as class name from being modified by overriding onInitializeAccessibilityNodeInfo, as any changes will be overwritten by the host class.

Starting in API 23, delegate methods are called after host methods, which all properties to be modified without being overwritten by the host class.

Constructors

Link copied to clipboard
constructor()
Creates a new instance.
constructor(@NonNull originalDelegate: View.AccessibilityDelegate)

Functions

Link copied to clipboard
Dispatches an AccessibilityEvent to the host View first and then to its children for adding their text content to the event.
Link copied to clipboard
Gets the provider for managing a virtual view hierarchy rooted at this View and reported to AccessibilityServices that explore the window content.
Link copied to clipboard
Initializes an AccessibilityEvent with information about the the host View which is the event source.
Link copied to clipboard
Initializes an AccessibilityNodeInfoCompat with information about the host view.
Link copied to clipboard
Gives a chance to the host View to populate the accessibility event with its text content.
Link copied to clipboard
Called when a child of the host View has requested sending an AccessibilityEvent and gives an opportunity to the parent (the host) to augment the event.
Link copied to clipboard
open fun performAccessibilityAction(@NonNull host: View, action: Int, @Nullable args: Bundle): Boolean
Performs the specified accessibility action on the view.
Link copied to clipboard
open fun sendAccessibilityEvent(@NonNull host: View, eventType: Int)
Sends an accessibility event of the given type.
Link copied to clipboard
Sends an accessibility event.
Link copied to clipboard
open fun seslNotifyPerformAction(virtualViewId: Int, action: Int, arguments: Bundle)